package bigdata.backend.meta.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Doris 建表语句解析结果（仅包含 Doris 特有结构）
 */
@Data
public class DorisTableStruct {
    private String keyType = "DUPLICATE_KEY";
    private List<String> keyColumns = new ArrayList<>();
    private String partitionColumn;
    private List<String> partitionValues = new ArrayList<>();
    private List<String> bucketColumns = new ArrayList<>();
    private Integer bucketNum = 10;
    private Integer replicationNum = 3;
    private Map<String, String> properties = new HashMap<>();
}
